﻿<UserControl x:Class="UsingBxfPan.Views.Welcome"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480" xmlns:bxf="clr-namespace:Bxf.Xaml;assembly=Bxf">

  <Grid x:Name="LayoutRoot">
    <StackPanel Margin="10">
      <Button Content="Customer" Name="button1" Width="170"/>
      <Button Content="Test page" Name="button2" Width="170" />
      <bxf:TriggerAction Height="20" HorizontalAlignment="Left" Name="triggerAction1" VerticalAlignment="Top" Width="20" TargetControl="{Binding ElementName=button1}" MethodName="EditCustomer" />
      <bxf:TriggerAction Height="20" HorizontalAlignment="Left" Name="triggerAction2" VerticalAlignment="Top" Width="20" TargetControl="{Binding ElementName=button2}" MethodName="TestPage" />
    </StackPanel>
  </Grid>
</UserControl>
